package com.example.demospringbootbean;

public class ClassCCFactory1 {
    //静态工厂创建
    public static final ClassCC getClassFromStaticFactory(){
        return new ClassCC();
    }

    //实例工厂创建
    public ClassCC getClassFromInstanceFactory(){
        return new ClassCC();
    }
}
